/*
 * @Author: 李惠婵 lihuichan@yxhyidc.com
 * @Date: 2022-06-17 18:31:35
 * @LastEditors: 李惠婵 lihuichan@yxhyidc.com
 * @LastEditTime: 2022-07-09 15:30:30
 * @FilePath: \robot-webd:\project\rural-revitalization-web\src\api\system\thirdLogin.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import request from '@/utils/request'

// 查询列表
export function thirdLoginList(query) {
    return request({
        url: '/system/third/login/list',
        method: 'get',
        params: query
    })
}
// 新增
export function addThirdConfig(data) {
    return request({
        url: '/system/third/login/',
        method: 'POST',
        data: data
    })
}
// 修改
export function updateThirdConfig(data) {
    return request({
        url: '/system/third/login/',
        method: 'put',
        data: data
    })
}
//删除
export function delThirdConfig(configId) {
    return request({
        url: '/system/third/login/',
        method: 'delete'
    })
}